{% if is_paginated %}
<div id="paginator">
<div class="pagenav">{% if has_previous %}<a href="?page={{ previous }}">&larr;</a>{% else %}&larr;{% endif %}&nbsp;&nbsp; {{ page }}/{{ pages }} &nbsp;&nbsp;{% if has_next %}<a href="?page={{ next }}">&rarr;</a>{% else %}&rarr;{% endif %}</div>
{% comment %}
<div class="pageinfo">{{ max_page }} results per page &bull; {{ hits }} total</div>
</div>
{% else %}
<div class="pageinfo"> &bull; {{ hits }} total</div>
{% endcomment %}
{% endif %}
